<p><b>Date:</b> <?php echo $this->data['date']; ?></p>
<p><b>Bill to:</b><br />
    <?php   echo (!empty($this->data['billing_name']) ? $this->data['billing_name'] . '<br />' : '') ;?>
    <?php   echo (!empty($this->data['billing_email']) ? $this->data['billing_email'] . '<br />' : '') ;?>
    <?php   echo (!empty($this->data['billing_address']) ? $this->data['billing_address'] : '') ;
            if (!empty ($this->data['billing_address']) && !empty($this->data['billing_address1'])) echo ', ';
            echo (!empty($this->data['billing_address1']) ? $this->data['billing_address1'] : '').'<br />';?>
    <?php   echo $this->data['billing_city'];
            if (!empty ($this->data['billing_city']) && (!empty ($this->data['billing_state']) or !empty($this->data['billing_zip']))) echo ', ';
            echo $this->data['billing_state'];
            if (!empty ($this->data['billing_state']) && !empty($this->data['billing_zip'])) echo ' ';
            echo $this->data['billing_zip'];
            echo (!empty ($this->data['billing_city']) || !empty ($this->data['billing_state']) || !empty($this->data['billing_zip']) ? '<br />' : '' );
            ?>
    <?php   echo (!empty($this->data['billing_country']) ? $this->data['billing_country'] . '<br />' : '')?>
</p>
<hr />
<?php if ($this->shipping) :?>
<p><b>Ship to:</b><br />
    <?php   echo (!empty($this->shippingAddress['address1']) ? $this->shippingAddress['address1'] : '') ;
            if (!empty ($this->shippingAddress['address1']) && !empty($this->shippingAddress['address2'])) echo ', ';
            echo $this->shippingAddress['address2'].'<br />';?>
    <?php   echo $this->shippingAddress['city'];
            if (!empty ($this->shippingAddress['city']) && (!empty ($this->shippingAddress['state']) or !empty($this->shippingAddress['zip']))) echo ', ';
            echo $this->contactInfo['state'];
            if (!empty ($this->shippingAddress['state']) && !empty($this->shippingAddress['zip'])) echo ' ';
            echo $this->shippingAddress['zip'];
            echo (!empty ($this->shippingAddress['city']) || !empty ($this->shippingAddress['state']) || !empty($this->shippingAddress['zip']) ? '<br />' : '' );
            ?>
    <?php   echo (!empty($this->shippingAddress['country']) ? $this->shippingAddress['country'] . '<br />' : '')?>
    <?php   echo (!empty($this->shippingAddress['phone']) ? $this->shippingAddress['phone'] . '<br />' : '') ;?>
</p>
<p><b>Ship Via:</b> <?php echo $this->shippingType; ?></p>
<hr/>
<?php endif; ?>

<p><b>Order Description:</b> <?php echo $this->data['description']; ?></p>
<p><b>Amount:</b> <?php echo $this->data['amount']; ?></p>
<p><b>Transaction Id:</b> <?php echo $this->data['transaction_id']; ?></p>